package org.br.erp.rfq.quo.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.Columns;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Description: 报价单
 * @Author: jeecg-boot
 * @Date:   2023-09-17
 * @Version: V1.0
 */
@Data
@TableName("scmquotation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="scmquotation对象", description="报价单")
@Entity
public class Scmquotation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    @Dict(dictTable = "scmpartner",dicText = "partnername",dicCode = "id")
    private java.lang.String vendorid;
	/**询价单id*/
	@Excel(name = "询价单id", width = 15)
    @ApiModelProperty(value = "询价单id")
    private java.lang.String fromid;
	/**询价单itemid*/
	@Excel(name = "询价单itemid", width = 15)
    @ApiModelProperty(value = "询价单itemid")
    private java.lang.String fromitemid;
	/**配件编号*/
	@Excel(name = "配件编号", width = 15)
    @ApiModelProperty(value = "配件编号")
    private java.lang.String matcode;
	/**配件名称*/
	@Excel(name = "配件名称", width = 15)
    @ApiModelProperty(value = "配件名称")
    private java.lang.String matname;
	/**配件数量*/
	@Excel(name = "配件数量", width = 15)
    @ApiModelProperty(value = "配件数量")
    private java.lang.String count;
	/**配件品质*/
	@Excel(name = "配件品质", width = 15)
    @ApiModelProperty(value = "配件品质")
    private java.lang.String quality;
	/**报价单价*/
	@Excel(name = "报价单价", width = 15)
    @ApiModelProperty(value = "报价单价")
    private java.math.BigDecimal quoprice;
	/**报价总价*/
	@Excel(name = "报价总价", width = 15)
    @ApiModelProperty(value = "报价总价")
    private java.math.BigDecimal quovalue;
	/**报价日期*/
	@Excel(name = "报价日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "报价日期")
    private java.util.Date quodate;

    @Column(length = 500)
    private String quoremarks;

    @Column(length = 10)
    private String quostate;
}
